home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / programs / falkv63.zip / BBS.BAT next >
DOS Batch File  |  1992-01-22  |  765b  |  21 lines

  1. echo off
  2. mainbbs
  3. rem --
  4. rem -- an error level of 5 or higher means a REAL error!
  5. if ERRORLEVEL 5 echo level 5 exit from FALKEN
  6. rem --
  7. rem -- error level 1-4 denote a timed shutdown for maintenance
  8. rem -- purposes.  you can execute whatever code is necessary for
  9. rem -- daily or weekly maintenance by telling the BBS to halt at
  10. rem -- a particuler time with an error code of 1-4, then placing
  11. rem -- appropriate DOS commands directly after the ERRORLEVEL test
  12. rem -- for that value.
  13. rem --
  14. if ERRORLEVEL 4 echo level 4 exit from FALKEN
  15. if ERRORLEVEL 3 echo level 3 exit from FALKEN
  16. if ERRORLEVEL 2 echo level 2 exit from FALKEN
  17. if ERRORLEVEL 1 echo level 1 exit from FALKEN
  18. rem --
  19. rem -- an error level of 0 means the operator halted the system
  20.  
  21.